﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace UFIDA.U9.Cust.HWProject.CreateARBill
{
	/// <summary>
	/// 应收单行 DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "UFIDA.U9.Cust.HWProject.CreateARBill")]
	[Serializable]
	public partial class InnDtoInfoData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public InnDtoInfoData()
		{
			initData();
		}
		private void initData()
		{
		
		
					TaxPrice=0m; 
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.InnDto != null) 
			{
				this.InnDto.DoSerializeKeyList(dict);
			}
	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public InnDtoInfoData(  UFIDA.U9.Cust.HWProject.CreateARBill.InnDtoData innDto  , System.String itemCode  , System.Decimal taxPrice  , System.String oldSODocNo  , System.String shop  , System.String reason  )
		{
			initData();
			this.InnDto = innDto;
			this.ItemCode = itemCode;
			this.TaxPrice = taxPrice;
			this.OldSODocNo = oldSODocNo;
			this.Shop = shop;
			this.Reason = reason;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 传入单头
		/// 应收单行.Misc.传入单头
		/// </summary>
		private UFIDA.U9.Cust.HWProject.CreateARBill.InnDtoData m_innDto ;
		[DataMember(IsRequired=false)]
		public UFIDA.U9.Cust.HWProject.CreateARBill.InnDtoData InnDto
		{
			get	
			{	
				return m_innDto ;
			}
			set	
			{	
				m_innDto = value ;	
			}
		}
			
		

		/// <summary>
		/// 料号
		/// 应收单行.Misc.料号
		/// </summary>
		private System.String m_itemCode ;
		[DataMember(IsRequired=false)]
		public System.String ItemCode
		{
			get	
			{	
				return m_itemCode ;
			}
			set	
			{	
				m_itemCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 含税单价
		/// 应收单行.Misc.含税单价
		/// </summary>
		private System.Decimal m_taxPrice ;
		[DataMember(IsRequired=false)]
		public System.Decimal TaxPrice
		{
			get	
			{	
				return m_taxPrice ;
			}
			set	
			{	
				m_taxPrice = value ;	
			}
		}
			
		

		/// <summary>
		/// 原销售单号
		/// 应收单行.Misc.原销售单号
		/// </summary>
		private System.String m_oldSODocNo ;
		[DataMember(IsRequired=false)]
		public System.String OldSODocNo
		{
			get	
			{	
				return m_oldSODocNo ;
			}
			set	
			{	
				m_oldSODocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 店铺
		/// 应收单行.Misc.店铺
		/// </summary>
		private System.String m_shop ;
		[DataMember(IsRequired=false)]
		public System.String Shop
		{
			get	
			{	
				return m_shop ;
			}
			set	
			{	
				m_shop = value ;	
			}
		}
			
		

		/// <summary>
		/// 退差原因
		/// 应收单行.Misc.退差原因
		/// </summary>
		private System.String m_reason ;
		[DataMember(IsRequired=false)]
		public System.String Reason
		{
			get	
			{	
				return m_reason ;
			}
			set	
			{	
				m_reason = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
												
		#endregion 
	} 	
}
